*** PAR Meier, Johnson, and An (2019) Replication File
*** Reference: "Perceptual Bias and Public Programs: The Case of the United States and Hospital Care"
*** DOI: 

version 15

clear

***specify your working folder

cd "your-working-folder-location where you unzip the material"

/*------------------------------------------------------------------------
PART I: US Adult Sample (Amazon MTurk)
------------------------------------------------------------------------*/

*Note: Red tape questions (q4 and q5) are reversely coded. 

use PAR_perception_bias_USadults.dta, clear

*------------------Table 1: Balance across experimental groups

regress ideology i.group, robust
regress age  i.group, robust
regress religion i.group, robust
regress gender  i.group, robust
regress white  i.group, robust

*------------------Table 2: Factor Analysis of the Four Perceived Performance Dimensions

factor q1 q2 q3 q4 q5 q6 q7 q8 q9, pf
rotate, varimax
predict effectiveness benevolence redtape efficiency 
alpha q1 q2 q3
alpha q4 q5
alpha q6 q7
alpha q8 q9
sum effectiveness benevolence redtape efficiency 

*------------------Table 3: Perceptions of Performance: Impact of Sector and Performance Management, Regression Models

*------------------Effectiveness Model

regress effectiveness c.public i.performance, robust

*------------------Red Tape Model

regress redtape c.public i.performance, robust

*------------------Efficiency Model

regress efficiency c.public i.performance, robust

*------------------Benevolence Model

regress benevolence c.public i.performance, robust

*------------------Table 4. Perceptions of Performance: Moderating Impact of Performance Management, Regression Models

*------------------Effectiveness Model

regress effectiveness i.public##i.performance, robust

*------------------Red Tape Model

regress redtape i.public##i.performance, robust

*------------------Efficiency Model

regress efficiency i.public##i.performance, robust

*------------------Benevolence Model

regress benevolence i.public##i.performance, robust

/*------------------------------------------------------------------------
PART II: US Student Sample (TAMU students) - Appendix
------------------------------------------------------------------------*/

*------------------load data
*Note: Red tape questions (q4 and q5) are reversely coded. 

use "PAR_perception_bias_USstudents.dta", clear

*------------------Table A1: Balance across experimental groups (students)

regress ideology i.group, robust
regress age i.group, robust
regress religion i.group, robust
regress gender i.group, robust
regress white i.group, robust

*------------------Table A2. Factor analysis of the four perceived performance dimension.

factor q1 q2 q3 q4 q5 q6 q7 q8 q9, pf
rotate, varimax
predict effectiveness benevolence redtape efficiency
alpha q1 q2 q3 
alpha q4 q5
alpha q6 q7
alpha q8 q9
sum effectiveness benevolence redtape efficiency

*------------------Table A3: Perceptions of Performance: Impact of Sector and Performance Management, Regression Models (students) 

*------------------Effectiveness Model
regress effectiveness c.public i.performance, robust

*------------------Red Tape Model
regress redtape c.public i.performance, robust

*------------------Efficiency Model
regress efficiency c.public i.performance, robust

*------------------Benevolence Model
regress benevolence c.public i.performance, robust

*------------------Table A4. Perceptions of Performance: Moderating Impact of Performance Management, Regression Models (students)

*------------------Effectiveness Model
regress effectiveness i.public##i.performance, robust

*------------------Red Tape Model
regress redtape i.public##i.performance, robust

*------------------Efficiency Model
regress efficiency i.public##i.performance, robust

*------------------Benevolence Model
regress benevolence i.public##i.performance, robust
